Rerun screen adaptation logic when set orientation

https://github.com/cocos-creator/engine/pull/1249

Re: cocos-creator/fireball#4556

Changes proposed in this pull request:

  • Rerun screen adaptation logic when set orientation to solve orientation set failure

Makes sure these boxes are checked before submitting your PR - thank you!

  •  If your pull request has gone "stale", you should rebase your work on top of the latest version of the upstream branch.
  •  If your commit history is full of small, unimportant commits (such as "fix pep8" or "update tests"), squash your commits down to a few, or one, discreet changesets before submitting a pull request.
  • To official teams:
    •  Check that your javascript is following our style guide and end files with a newline
    •  Document new code with comments in source code based on API Docs

@cocos-creator/engine-admins

@jareguo

jareguo approved these changes on 28 Oct 2016

@nantas nantas merged commit ac84221 into cocos-creator:v1.3 on 28 Oct 2016